<h1>Listing roomdescs</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Beds</th>
    <th>Dailyprice</th>
  </tr>

<% @roomdescs.each do |roomdesc| %>
  <tr>
    <td><%=h roomdesc.name %></td>
    <td><%=h roomdesc.beds %></td>
    <td><%=h roomdesc.dailyPrice %></td>
    <td><%= link_to 'Show', roomdesc %></td>
    <td><%= link_to 'Edit', edit_roomdesc_path(roomdesc) %></td>
    <td><%= link_to 'Destroy', roomdesc, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New roomdesc', new_roomdesc_path %>